home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000369_slash_dev_slas…_2000@yahoo.com_Wed Aug 25 08:59:38 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  1KB

  1. Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!postnews2.google.com!not-for-mail
  2. From: slash_dev_slash_null_2000@yahoo.com (Mark Sapiro)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: input command
  5. Date: 24 Aug 2004 21:01:55 -0700
  6. Organization: http://groups.google.com
  7. Lines: 26
  8. Message-ID: <deb126db.0408242001.2b978c88@posting.google.com>
  9. References: <cgg7e0$3od$1@avnika.corp.mot.com>
  10. NNTP-Posting-Host: 209.182.169.133
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1093406516 21674 127.0.0.1 (25 Aug 2004 04:01:56 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: Wed, 25 Aug 2004 04:01:56 +0000 (UTC)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15134
  17.  
  18. On Tue, 24 Aug 2004, Ken V. Broezell {QMCS11} wrote:
  19.  
  20. > Is there a way to to get the input/minput command to find an exact match?
  21. >
  22. > I want it to find only the string:
  23. >
  24. >  login:
  25. >
  26. > That's a single space followed by login: and no trailing spaces. Using
  27. > the UNIX grep command I would find it using:
  28. >
  29. > grep '^ login:$' file_name
  30. >
  31.  
  32. And with Kermit-95/C-Kermit you use
  33.  
  34.   input n \fpattern(^ login:$)
  35.  
  36. etc.  See
  37.   help function pattern 
  38. and
  39.   help pattern
  40.  
  41. --
  42. Mark Sapiro msapiro at value net       The highway is for gamblers,
  43. San Francisco Bay Area, California     better use your sense - B. Dylan